package com.itheima.mall.dubbo.api.pms;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.mall.entity.domain.pms.ProductCategory;
import com.itheima.mall.entity.page.MyPage;

import java.util.List;

public interface PmsProductCategoryService extends IService<ProductCategory> {
    MyPage<ProductCategory> getPage(Integer parentId,Integer pageNum, Integer pageSize);

    List<ProductCategory> getByOne();

    List<ProductCategory> getByTow(Long id);

}
